package com.qf.blog.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * User: key
 * ClassName:Message
 * Date: 2023/6/3
 * Time: 8:49
 * description:
 */
@Data
@TableName("message")
public class Message {
    @TableId(type = IdType.AUTO)
    private Integer id;
    @TableField("from_id")
    private Integer fromId;
    @TableField("to_id")
    private Integer toId;
    @TableField("conversation_id")
    private String conversationId;
    private String content;
    private Integer status;
    @TableField("create_time")
    private Date createTime;
}
